package com.itheima.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor

@TableName("goods")
public class Goods {
    @TableId(type = IdType.INPUT)
    private Integer id;
    private String title;
    private String price;
    private Double stock;
    private Double saleNum;
    private Date createTime;
    private String categoryName;
    private String brandName;

}
